﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EarringsRecommendationWeb
{
    public class PersonConfig
    {
        private string _id;
        private string _type;
        private string _name;
        private string _nameTh;
        private string _image;


        public PersonConfig(string id, string type, string name,string nameTh,string img) 
        {
            this._id = id;
            this._type = type;
            this._name = name;
            this._nameTh = nameTh;
            this._image = img;            
        }

        public string Type
        {
            get { return _type; }
            set { _type = value; }
        }

        public string Id
        {
            get { return _id; }
            set { _id = value; }
        }

        public string Name
        {
            get { return _name; }
            set { _name = value; }
        }

        public string NameTh
        {
            get { return _nameTh; }
            set { _nameTh = value; }
        }

        public string Image
        {
            get { return _image; }
            set { _image = value; }
        }
    }

    public class EarringsMaster
    {
        public string ERCode {get;set;}
        public string ERName { get; set; }
        public string ERDetail { get; set; }
        public double ERPrice { get; set; }
        public string ERImage { get; set; }
        public string ERImageSide { get; set; }
        public string ERImageSize { get; set; }
        public string ERImageSample { get; set; }
        public string ERStatus { get; set; }

        public EarringsMaster(string code, string name,string detail,double price, string img,string imgSide,string imgSize,string imgSample,string status) 
        {
            ERCode = code;
            ERName = name;
            ERDetail = detail;
            ERPrice = price;
            ERImage = img;
            ERImageSide = imgSide;
            ERImageSize = imgSize;
            ERImageSample = imgSample;
            ERStatus = status;
        }
    }

    public class RecalQty
    {
        public string ERCode { get; set; }
        public string Qty { get; set; }
        //public string Email { get; set; }

        public RecalQty(string code, string qty)
        {
            ERCode = code;
            Qty = qty;
        }

    }

    public class EarringsCompare
    {
        public string ERCode { get; set; }
        public string ERSampleImage { get; set; }
    }

    public class EarringsColor
    {
        public string ColorCode { get; set; }
        public string ColorName { get; set; }
        public string ColorImgName { get; set; }

        public EarringsColor(string code, string name, string img)
        {
            this.ColorCode = code;
            this.ColorName = name;
            this.ColorImgName = img;
        }
    }
}